package com.sky.controller.user;

import com.sky.result.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
@RequestMapping("/user/pay")
public class PaymentController {


    @PostMapping
    public Result pay(String orderNumber) {
        log.info("pay order number: {}", orderNumber);
        return Result.success();
    }


}
